package com.menghanjun.mhjresourcesharing.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author menghanjun
 * @since 2024-05-26
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class TBar implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 标题
     */
    private String title;

    /**
     * 值
     */
    private String value;

    /**
     * 链接
     */
    private String url;

    /**
     * 显示顺序
     */
    private Integer position;

    /**
     * 父级ID
     */
    private Integer pid;

    /**
     * 类型（N是导航栏，S是下拉框）
     */
    private String type;


}
